package model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("plt_apply_info")
public class ApplyInfo extends BaseModel<ApplyInfo>{

    // 申请单号
    @TableField("apply_no")
    private String applyNo;

    // 申请类型 (SC01: 转账申请, SC02: 贷款申请)
    @TableField("apply_tp")
    private String applyTp;

    // 申请人工号
    @TableField("user_id")
    private String userId;

    // 申请人姓名
    @TableField("apply_nm")
    private String applyNm;

    // 企业名称
    @TableField("cst_nm")
    private String cstNm;

    // 企业证件类型 (IT11: 组织机构代码)
    @TableField("cst_ident_tp")
    private String cstIdentTp;

    // 组织机构代码
    @TableField("cst_ident_no")
    private String cstIdentNo;

    // 转出钱包ID
    @TableField("tfr_out_wlt_id")
    private String tfrOutWltId;

    // 转出钱包名称
    @TableField("tfr_out_wlt_nm")
    private String tfrOutWltNm;

    // 转入钱包ID
    @TableField("tfr_in_wlt_id")
    private String tfrInWltId;

    // 转入钱包名称
    @TableField("tfr_in_wlt_nm")
    private String tfrInWltNm;

    // 经办人证件类型 (IT01: 居民身份证)
    @TableField("opr_ident_tp")
    private String oprIdentTp;

    // 经办人证件号码
    @TableField("opr_ident_no")
    private String oprIdentNo;

    // 经办人姓名
    @TableField("opr_nm")
    private String oprNm;

    // 经办人手机号码
    @TableField("opr_tel_no")
    private String oprTelNo;

    // 交易摘要
    @TableField("txn_smy")
    private String txnSmy;

    // 交易金额
    @TableField("txn_amt")
    private BigDecimal txnAmt;

    // 收款方手机号
    @TableField("tfr_in_tel")
    private String tfrInTel;

    // 申请单状态（ST00：申请中，ST01：审批通过，ST02：审批拒绝，ST03：签名成功，ST04：签名失败，ST05：签名未明，ST06：转账成功，ST07：转账失败，ST08：转账未明）
    @TableField("apply_sts")
    private String applySts;

    // 授权人1 (授权人工号)
    @TableField("author1")
    private String author1;

    // 授权人2 (授权人工号)
    @TableField("author2")
    private String author2;

    // 授权人3 (授权人工号)
    @TableField("author3")
    private String author3;

    // 共同授权信息
    @TableField("auth_info")
    private String authInfo;

    // 共同授权信息密文
    @TableField("auth_msg")
    private String authMsg;

    public void setApplyNo(String applyNo) {
        this.applyNo = applyNo;
    }

    public void setApplyTp(String applyTp) {
        this.applyTp = applyTp;
    }

    public void setApplyNm(String applyNm) {
        this.applyNm = applyNm;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setCstNm(String cstNm) {
        this.cstNm = cstNm;
    }

    public void setCstIdentTp(String cstIdentTp) {
        this.cstIdentTp = cstIdentTp;
    }

    public void setCstIdentNo(String cstIdentNo) {
        this.cstIdentNo = cstIdentNo;
    }

    public void setTfrOutWltNm(String tfrOutWltNm) {
        this.tfrOutWltNm = tfrOutWltNm;
    }

    public void setTfrOutWltId(String tfrOutWltId) {
        this.tfrOutWltId = tfrOutWltId;
    }

    public void setTfrInWltId(String tfrInWltId) {
        this.tfrInWltId = tfrInWltId;
    }

    public void setTfrInWltNm(String tfrInWltNm) {
        this.tfrInWltNm = tfrInWltNm;
    }

    public void setOprIdentTp(String oprIdentTp) {
        this.oprIdentTp = oprIdentTp;
    }

    public void setOprIdentNo(String oprIdentNo) {
        this.oprIdentNo = oprIdentNo;
    }

    public void setOprNm(String oprNm) {
        this.oprNm = oprNm;
    }

    public void setOprTelNo(String oprTelNo) {
        this.oprTelNo = oprTelNo;
    }

    public void setTxnSmy(String txnSmy) {
        this.txnSmy = txnSmy;
    }

    public void setTxnAmt(BigDecimal txnAmt) {
        this.txnAmt = txnAmt;
    }

    public void setTfrInTel(String tfrInTel) {
        this.tfrInTel = tfrInTel;
    }

    public void setApplySts(String applySts) {
        this.applySts = applySts;
    }

    public void setAuthor1(String author1) {
        this.author1 = author1;
    }

    public void setAuthor2(String author2) {
        this.author2 = author2;
    }

    public void setAuthor3(String author3) {
        this.author3 = author3;
    }

    public void setAuthInfo(String authInfo) {
        this.authInfo = authInfo;
    }

    public void setAuthMsg(String authMsg) {
        this.authMsg = authMsg;
    }

    public String getAuthor1() {
        return author1;
    }

    public String getAuthor2() {
        return author2;
    }

    public String getAuthor3() {
        return author3;
    }
}

